module.exports = {
  // 预览
  preview: '/order/order/preview',
  // 运费计算
  freight: '/order/order/freight-fee',
  // 下单
  new: {
    path: '/order/order/create',
    method: 'POST'
  },
  // 我的订单
  my: '/member/order/index',
  // 订单详情
  detail: '/member/order/view',
  // 取消支付
  cancel: '/member/order/close',
  // 删除
  del: {
    path: '/member/order/delete',
    method: 'DELETE'
  },
  // 收货
  delivery: '/member/order/take-delivery',
  // 申请退款/退货
  apply: {
    path: '/member/order-customer/apply',
    method: 'POST'
  },
  // 退货提交物流
  salesReturn: {
    path: '/member/order-customer/sales-return',
    method: 'POST'
  },
  // 退款/退货关闭申请
  orderClose: {
    path: '/member/order-customer/close',
    method: 'POST'
  },
  // 订单产品的详情
  product: '/member/order-product/view',
  // 产品申请退款/退货
  refundApply: {
    path: '/member/order-product/refund-apply',
    method: 'POST'
  },
  // 产品退货提交物流
  refundSalesReturn: {
    path: '/member/order-product/refund-sales-return',
    method: 'POST'
  },
  // 产品退款/退货关闭申请
  refundClose: {
    path: '/member/order-product/refund-close',
    method: 'POST'
  },
  // 物流追踪
  express: '/member/order-product-express/details',
  // 订单评价
  evaluate: {
    // 评价产品
    products: '/member/order-product/index',
    new: {
      path: '/member/evaluate/create',
      method: 'POST'
    },
    again: {
      path: '/member/evaluate/again',
      method: 'POST'
    },
    del: {
      path: '/member/evaluate/delete',
      method: 'DELETE'
    }
  }
}